/*
 * @Author: Jackie
 * @Date: 2020-12-03 11:30:17
 * @FilePath: \vue\vue_mina\vue_mina\src\plugins\element.js
 * @Copyright (C) 2020 Jackie. All rights reserved.
 * @Description: 
 */
import Vue from 'vue'
import { 
     Button,
     Form,
     FormItem,
     Input,
     Message,
     Container,Header,Aside,Main,
     Menu,MenuItem,Submenu,
     Tabs,TabPane,
     MessageBox,
     Card ,
     Timeline,TimelineItem,
     Dialog,
     Select,Option,
     DatePicker,ColorPicker,TimePicker,
     Collapse,CollapseItem,
     Switch,Checkbox,Popover,
} from 'element-ui'

Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Container)
Vue.use(Header)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(Submenu)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Card)
Vue.use(Timeline)
Vue.use(TimelineItem)
Vue.use(Dialog)
Vue.use(Select)
Vue.use(Option)
Vue.use(DatePicker)
Vue.use(TimePicker)
Vue.use(ColorPicker)
Vue.use(Collapse)
Vue.use(CollapseItem)
Vue.use(Switch)
Vue.use(Checkbox)
Vue.use(Popover)
Vue.prototype.$message=Message//把Message组件挂载到Vue原型对象上
Vue.prototype.$prompt=MessageBox.prompt//把MessageBox组件挂载到Vue原型对象上
Vue.prototype.$confirm=MessageBox.confirm//把MessageBox组件挂载到Vue原型对象上

import moment from 'moment'//导入文件 
Vue.prototype.$moment = moment;//赋值使用
